home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 25 / CU Amiga Magazine's Super CD-ROM 25 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-08].iso / CUCD / Programming / ixemul / sdk / man / cat3 / insque.0 < prev    next >
Encoding:
Text File  |  1998-06-15  |  1.4 KB  |  37 lines

  1.  
  2. INSQUE(3)                  UNIX Programmer's Manual                  INSQUE(3)
  3.  
  4. NNAAMMEE
  5.      iinnssqquuee, rreemmqquuee - insert/remove element from a queue
  6.  
  7. SSYYNNOOPPSSIISS
  8.      ##iinncclluuddee <<sseeaarrcchh..hh>>
  9.  
  10.      _s_t_r_u_c_t _q_e_l_e_m _{
  11.           _s_t_r_u_c_t _q_e_l_e_m _*_q___f_o_r_w_;
  12.           _s_t_r_u_c_t _q_e_l_e_m _*_q___b_a_c_k_;
  13.           _c_h_a_r _q___d_a_t_a_[_]_;
  14.      _}_;
  15.      _v_o_i_d
  16.      iinnssqquuee(_s_t_r_u_c_t _q_e_l_e_m _*_e_l_e_m, _s_t_r_u_c_t _q_e_l_e_m _*_p_r_e_d)
  17.  
  18.      _v_o_i_d
  19.      rreemmqquuee(_s_t_r_u_c_t _q_e_l_e_m _*_e_l_e_m)
  20.  
  21. DDEESSCCRRIIPPTTIIOONN
  22.      TThheessee iinntteerrffaacceess aarree aavvaaiillaabbllee ffrroomm tthhee ccoommppaattiibbiilliittyy lliibbrraarryy,, lliibbccoommppaatt..
  23.  
  24.  
  25.      iinnssqquuee() and rreemmqquuee() manipulate queues built from doubly linked lists.
  26.      Each element in the queue must begin with a "struct qelem".
  27.  
  28. DDIIAAGGNNOOSSTTIICCSS
  29.      These functions are not atomic unless that machine architecture allows
  30.      it.
  31.  
  32. HHIISSTTOORRYY
  33.      These are derived from the insque and remque instructions on a VAX.
  34.  
  35.  
  36.                                 August 12, 1993                              1
  37.